package thread.fenjiesuoyufenduansuo;

public class Test04 {

    public static void main(String[] args){
        DecompossClazz2 decompossClazz201 = new DecompossClazz2();
        DecompossClazz2 decompossClazz202 = new DecompossClazz2();

        Thread thread01 = new Thread(new Runnable() {
            @Override
            public void run() {
                decompossClazz201.addComputer("a");
            }
        });


        Thread thread02 = new Thread(new Runnable() {
            @Override
            public void run() {
                decompossClazz202.addComputer("b");
            }
        });

        thread01.start();
        thread02.start();
    }
}
